import { applyMiddleware, legacy_createStore as createStore } from "redux";
import thunk  from "redux-thunk";
import { composeWithDevTools } from "redux-devtools-extension";
import allReducer from "../reducer/index";


export default createStore(allReducer,composeWithDevTools(applyMiddleware(thunk)))